package br.gov.mi.corporativo.dominio.boundary.comum.tipointeresse;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

import br.gov.mi.corporativo.dominio.entidade.comum.TipoInteresse;

@WebService
public interface TipoInteresseEndPoint {

	@WebMethod(operationName="listarTodosTiposInteresse")
	public @WebResult(name="listaTipoInteresse")List<TipoInteresse> recuperarTodos();
	
	@WebMethod(operationName="recuperarTipoInteressePorId")
	public @WebResult(name="tipoInteresse")TipoInteresse recuperarPorId(@WebParam(name="id")Long id);
	
	@WebMethod(operationName="recuperarTipoInteressePorNome")
	public @WebResult(name="tipoInteresse")TipoInteresse recuperarPorNome(@WebParam(name="nome")String nome);
	
	@WebMethod(operationName="recuperarTipoInteressePorStatus")
	public @WebResult(name="listaTipoInteresse")List<TipoInteresse> recuperarPorStatus(@WebParam(name="status")String status);
}
